package com.shortUrl.starter.util;

import io.vertx.core.json.JsonObject;


public class CommonUtils {
    private static String getOrDefault(JsonObject jsonObject, String key, String defaultValue) {
        String result = jsonObject.getString(key);
        if (null == result) {
            return defaultValue;
        }
        return result;
    }
}
